package com.daodway.designpattern.factorypattern.simple;

public class Apple implements FruitProduct {
	private   int  treeAge;
	
	@Override
	public void grow() {
		System.out.println("苹果树在生长中...");

	}

	@Override
	public void harvest() {
		System.out.println("苹果可以收获啦!");
	}

	@Override
	public void plant() {
		System.out.println("种植苹果树苗!!");
	}

	
	public int getTreeAge() {
		return treeAge;
	}

	public void setTreeAge(int treeAge) {
		this.treeAge = treeAge;
	}
	
	

}
